package at.kokoni.Koko_Ni.entities;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;

public class User implements ApiData {
	private int id;
	private String email;
	private String name;
	@SerializedName("register_date")
	private String registerDate;

	public User() {
	}

	public static User userFromJson(String json) {
		Gson gson = new Gson();
		return gson.fromJson(json, User.class);
	}

	public int getId() {
		return id;
	}

	public String getEmail() {
		return email;
	}

	public String getName() {
		return name;
	}

	public String getRegisterDate() {
		return registerDate;
	}
}
